package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 贷后检查登记
 * @Author: jeecg-boot
 * @Date:   2021-12-01
 * @Version: V1.0
 */
@Data
@TableName("scm_after_loan_inspect")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="贷后检查登记", description="贷后检查登记")
public class ScmAfterLoanInspect implements Serializable {
    private static final long serialVersionUID = 1L;

	/**贷后检查登记表ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "贷后检查登记表ID")
    private String id;
    /**申请人*/
    @ApiModelProperty(value = "申请人")
    private String applyBy;
	/**申请大类*/
	@Excel(name = "申请大类", width = 15)
    @ApiModelProperty(value = "申请大类")
    private String mainClassify;
	/**申请小类*/
	@Excel(name = "申请小类", width = 15)
    @ApiModelProperty(value = "申请小类")
    @Dict(dicCode = "after_loan_secondary_classify")
    private String secondaryClassify;
	/**申请日期*/
	@Excel(name = "申请日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private Date applyTime;
	/**客户号*/
	@Excel(name = "客户号", width = 15)
    @ApiModelProperty(value = "客户号")
    private Integer cusNo;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String cusName;
	/**所属机构*/
	@Excel(name = "所属机构", width = 15)
    @ApiModelProperty(value = "所属机构")
    private String platformAffiliation;
	/**年份*/
	@Excel(name = "年份", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "年份")
    private Date year;
	/**季度*/
	@Excel(name = "季度", width = 15)
    @ApiModelProperty(value = "季度")
    @Dict(dicCode = "quarter")
    private Integer quarter;
	/**应提交时间*/
	@Excel(name = "应提交时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "应提交时间")
    private Date dueTime;
	/**提交日期*/
	@Excel(name = "提交日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "提交日期")
    private Date submitTime;
	/**提交情况*/
	@Excel(name = "提交情况", width = 15)
    @ApiModelProperty(value = "提交情况")
    @Dict(dicCode = "submit_situation")
    private Integer submitSituation;
	/**支持资料是否完整*/
	@Excel(name = "支持资料是否完整", width = 15)
    @ApiModelProperty(value = "支持资料是否完整")
    @Dict(dicCode = "basic_mark")
    private Integer dataComplete;
	/**需补充材料*/
	@Excel(name = "需补充材料", width = 15)
    @ApiModelProperty(value = "需补充材料")
    private Integer requireComplete;
	/**完成标志*/
	@Excel(name = "完成标志", width = 15)
    @ApiModelProperty(value = "完成标志")
    @Dict(dicCode = "basic_mark")
    private Integer finish;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String accessory;
	/**操作标识*/
	@Excel(name = "操作标识", width = 15)
    @ApiModelProperty(value = "操作标识")
    @Dict(dicCode = "after_loan_operate_type")
    private Integer operateType;
	/**最后修改人*/
    @ApiModelProperty(value = "最后修改人")
    private String updateBy;
	/**最后修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改时间")
    private Date updateTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
